package cn.chen.service;

import cn.chen.vo.Result;
import cn.chen.vo.params.ArticleParam;
import cn.chen.vo.params.PageParams;

public interface ArticleService {
    Result listArticle(PageParams pageParams);

    Result hotArticle(int limit);

    Result newArticles(int limit);

    Result listArchives();


    Result findArticleById(String id);

    Result publish(ArticleParam articleParam);
}
